﻿using System;
using System.Collections.Generic;
using System.Text;
using LibraryONTrack.Common;
using System.ComponentModel;

namespace LibraryONTrack.dto
{
	public class Roster: DTOBase
	{
		public Teacher Teacher { get; set; }
		public List<Student> Students { get; set; }
		
		public Roster()
		{
			Teacher = null;
			Students = null;
		}

		public Roster(Teacher teacher, List<Student> students)
		{
			Teacher = teacher;
			Students = new List<Student>(students);
		}

		public override string ToString()
		{
			return String.Format("[Roster: Teacher={0}; Students={1}]", this.Teacher, this.Students);
		}
	}
}
